package com.chw.springbootmybatis.controller;

import org.apache.ibatis.session.Configuration;

import java.util.HashSet;

public class LazyConfigurationFactory {

    private static Configuration configuration;

    static {

        configuration = new Configuration();
        configuration.setLazyLoadTriggerMethods(new HashSet<String>());
    }


    public static Configuration getConfiguration() {
        return configuration;
    }
}
